package com.imooc.bilibili.entity;

import lombok.*;

import java.util.Date;
import java.io.Serializable;

/**
 * 视频操作表(VideoOperation)实体类
 *
 * @author makejava
 * @since 2023-05-18 09:17:48
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
@EqualsAndHashCode
public class VideoOperation implements Serializable {
    private static final long serialVersionUID = -13613754032071600L;
    /**
     * 主键id
     */
    private Long videoOperationId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 视频id
     */
    private Long videoId;
    /**
     * 操作类型.0为点赞，1为收藏，2为投币
     */
    private Integer operationType;
    /**
     * 可用状态
     */
    private Integer enableState;
    /**
     * 删除状态
     */
    private Integer deleteState;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
}

